<?php if (!defined('THINK_PATH')) exit();?><!doctype html>
<html>
<head>
<meta charset="UTF-8"/>
<title>运营平台</title>
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
<meta name="renderer" content="webkit">
<!--<meta http-equiv="X-UA-Compatible" content="IE=edge">-->
<link type="text/css" rel="stylesheet" href="<?php echo get_style_cdnurl();?>paimai/yunying/css/common.css?v=20170207" />
<link type="text/css" rel="stylesheet" href="<?php echo get_style_cdnurl();?>paimai/yunying/css/table.css?v=20170117" />
<link type="text/css" rel="stylesheet" href="<?php echo get_style_cdnurl();?>paimai/yunying/css/jquery-ui.css" />
<script src="<?php echo get_style_cdnurl();?>paimai/yunying/js/jquery-1.11.1.js" type="text/javascript"></script>
<script src="<?php echo get_style_cdnurl();?>paimai/yunying/js/jquery-ui.min.js" type="text/javascript"></script>
 <script src="<?php echo get_style_cdnurl();?>paimai/yunying/js/yunIndex.js" type="text/javascript"></script>
<script src="<?php echo get_style_cdnurl();?>paimai/yunying/js/jquery-ym-datePlugin-0.1.js" type="text/javascript"></script>
<script src="<?php echo get_style_cdnurl();?>paimai/yunying/js/global.js" type="text/javascript"></script>
<script src="<?php echo get_style_cdnurl();?>paimai/cheshan/js/common.js" type="text/javascript"></script>
<script type="text/javascript" src="<?php echo get_style_cdnurl();?>paimai/yunying/js/jquery.placeholder.min.js"></script>
<script type="text/javascript">
 $(function(){
     $("input").placeholder();
     if (navigator.userAgent.indexOf("Safari") > -1) {
       $("input").css("lineHeight","normal !important");
     };
});
</script>

<link type="text/css" rel="stylesheet" href="<?php echo get_style_cdnurl();?>paimai/yunying/plugin/select2/select2.css" />
<script src="<?php echo get_style_cdnurl();?>paimai/yunying/plugin/select2/select2.js" type="text/javascript"></script>
<script src="http://img1.isou365.cn/paimai/yunying/js/city.js" type="text/javascript"></script>
<style>
    .xuanzhe ul li .menDao1{width:300px;}
    .xuanzhe ul li .menDao1 a{display:block;background:#cecece;color:#303030;float:left;width:36px; text-align:center;height:20px; line-height:20px; cursor:pointer;}
    .xuanzhe ul li .menDao1 .menHover{ background:#20ab4f;color:#fff;}
    .xuanzhe .lift-truck{width:280px;padding:10px;display:block; background:#e1e1e1;border-radius:5px;margin-left:60px;margin-top:-10px;}
    .xuanzhe .lift-truck #taker_phone,.xuanzhe .lift-truck #taker_sex,.xuanzhe .lift-truck #taker_card,.xuanzhe .lift-truck #take_car_num{width:280px; display:block;height:30px; line-height:30px; text-align:left;}
    .xuanzhe .lift-truck span em{float:left; display:block;width:60px; text-align:right;}
</style>
<body>
<div class="header">
<div class="headerCo">
<span>你好,<?php echo ($user_info["real_name"]); ?><a href="<?php echo (WEB_URL); ?>Emp/logout">退出</a></span>
<h1><img src="<?php echo get_style_cdnurl();?>paimai/yunying/images/yun_logo.jpg"></h1>
</div>
</div>
<div class="mian">
    <div class="mianL">
    <dl>
        <dd>
            <a id="menu_sy" href="/Index/index" class="shouye">首页</a>
        </dd>
        <?php foreach ($tree_menu as $key => $value): ?>
          <dd>
            <span id="menu_<?php echo ($value['first_char']); ?>" ><img src="<?php echo get_style_cdnurl();?>paimai/yunying/images/yun_jia.jpg"><?php echo ($value['name']); ?></span>
            <ul style="display: none;">
                <?php if (!empty($value['children'])): ?>
                    <?php foreach ($value['children'] as $k => $v): ?>
                        <li><a id='menu_<?php echo ($v["first_char"]); ?>' href="<?php echo ($v['url']); ?>"><?php echo ($v['name']); ?></a></li>
                    <?php endforeach ?>
                <?php endif ?>
            </ul>
        <?php endforeach ?>
    </dl>
</div>

<?php $menu = 'shgl.csyc'; ?>
<?php $menu=json_encode(explode('.', $menu)); ?>
<script>
    $(function () {
        var cur_menu = '<?php echo ($menu); ?>', cur_menu = eval('[' + cur_menu + ']'), cur_menu = cur_menu[0];
        if (cur_menu == "sy") {
            $("#menu_sy").removeClass('shouye').addClass('current');
        }
        $('#menu_' + cur_menu[0]).click();
        $('#menu_' + cur_menu[0]).find("img").attr("src", "http://img1.isou365.cn/paimai/yunying/images/yun_jie.jpg");
        $(".mianL").css("height", $(document).height() - 95);
        $('#menu_' + cur_menu[1]).addClass('current');
    });
</script>
    <div class="mianR">
        <h3 class="yonghu"> 车商验车详情</h3>
        <div class="chezhu-xinxi">
            <div class="xinxi-conter xinxi-conter1" style="background: none;border: none">
                <h4 class="order_no">拍卖单号：<b><?php echo ($detail["order_no"]); ?></b></h4>
            </div>
            <br/>
            <div class="xinxi-conter xinxi-conter1">
                <h4>车商信息</h4>
                <ul>
                    <li class="clearfix">
                        <em>车商姓名</em><em class="name-text"><?php echo ($detail["contact_person"]); ?></em>
                        <em>车商电话</em><em class="dian-hua"><?php echo ($detail["contact_mobile"]); ?></em>
                    </li>
                </ul>
            </div>
            <br/>
            <div class="xinxi-conter xinxi-conter1">
                <h4>车辆信息</h4>
                <ul>
                    <li class="clearfix">
                        <em>车型</em><em class="name-text"><?php echo ($detail["model"]); ?></em>
                        <em>排放标准</em><em class="dian-hua"><?php echo ($detail["emission"]); ?></em>
                    </li>

                    <li class="clearfix">
                        <em>初登日期</em><em class="name-text"><?php echo ($detail["first_reg_date"]); ?></em>
                        <em>颜色</em><em class="dian-hua"><?php echo ($detail["car_color"]); ?></em>
                    </li>
                    <li class="clearfix">
                        <em>表显里程</em><em class="name-text"><?php echo ($detail["pointer_mileage"]); ?>万公里</em>
                        <em>车况级别</em><em class="name-text"><?php echo ($detail["composite_state"]); echo ($detail["accident_level"]); ?></em>
                    </li>
                    <li class="clearfix">
                        <em>车辆注册地</em><em class="name-text"><?php echo ($detail["reg_city"]); ?></em>
                        <em>车架号</em><em class="name-text"><?php echo ($detail["vin"]); ?></em>
                    </li>                    
                    <li class="clearfix">
                        <em>过户限制</em><em class="name-text"><?php echo ($transfer_type[$detail[transfer_limit]]); ?></em>
                        <em>车牌号</em><em class="name-text"><?php echo ($detail["plate_prefix"]); echo ($detail["plate_suffix"]); ?></em>
                    </li>
                    <li class="clearfix">
                        <em>渠道来源</em><em class="name-text">
                            <?php if($car_detail["comefrom"] != ''): if(empty($car_detail['comefrom_url'])):?>
                              <?php echo $show_from[$car_detail['comefrom']];?>
                            <?php else: ?>
                              <a href="<?php echo ($car_detail["comefrom_url"]); ?>" target="_blank" rel="noreferrer"><?php echo $show_from[$car_detail['comefrom']];?></a>
                            <?php endif;?>
                            <?php else: ?>
                              未知<?php endif; ?>
                        </em>
                        <em>所在地</em><em class="name-text"><?php echo ($detail["location_area_name"]); ?></em>
                    </li>
                </ul>
            </div>
            <br/>
            <div class="xinxi-conter xinxi-conter1">
                <h4>拍卖信息</h4>
                <ul>
                    <li class="clearfix">
                        <em>竞拍结束时间</em><em class="name-text"><?php echo ($detail["bidding_end_time"]); ?></em>
                        <em>拍卖最高价</em><em class="dian-hua"><?php echo format_money($bestPrice);?>元</em>
                    </li>
                    <li class="clearfix">
                        <em>保留价</em><em class="name-text"><?php echo format_money($detail['reserve_price']);?></em>
                        <?php if($detail['is_consult'] == 1):?>
                          <em>磋商成交价</em>
                          <em class="dian-hua"><?php echo format_money($detail['success_price']+$detail['company_subsidies']);?></em>
                        <?php else:?>
                          <em>确认成交价</em>
                          <em class="dian-hua"><?php echo format_money($detail['success_price']);?></em>
                        <?php endif;?>
                    </li>
                    <li class="clearfix">
                        <em>公司补贴</em><em class="name-text">
                        <?php echo (isset($detail['is_consult']) && $detail['is_consult'] == 1) ? $detail['company_subsidies'] : '无'; ?>
                        </em>
                    </li>
                </ul>
            </div>
            <br/>
            <div class="xinxi-conter xinxi-conter1">
                <h4>评估师信息</h4>
                <ul>
                    <li class="clearfix">
                        <em>评估师姓名</em><em class="name-text"><?php echo ($detail["checker_name"]); ?></em>
                        <em>评估师电话</em><em class="dian-hua"><?php echo ($detail["checker_mobile"]); ?></em>
                    </li>
                </ul>
            </div>
            <br/>
            <?php if (isset($detail['car_source']) && $detail['car_source'] == 1) { ?>
            <div class="xinxi-conter xinxi-conter1">
                <h4>代驾信息</h4>
                <ul>
                    <li class="clearfix">
                        <em>代驾姓名</em><em class="name-text"><?php echo ($detail["driver_name"]); ?></em>
                        <em>代驾公司</em><em class="dian-hua"><?php echo ($detail["driver_company"]); ?></em>
                    </li>
                    <li class="clearfix">
                        <em>代驾电话</em><em class="name-text"><?php echo ($detail["driver_phone"]); ?></em>
                        <em>代驾出发时间</em><em class="name-text">
                        <?php if(!empty($detail['depart_time']) && $detail['depart_time'] > 0) { ?>
                        <?php echo (date('Y-m-d H:i',strtotime($detail["depart_time"]))); ?>
                        <?php } ?>
                        </em>
                    </li>
                </ul>
            </div>
            </br>
            <?php } ?>
            <div class="xinxi-conter xinxi-conter1">
                <h4>复检信息</h4>
                <ul>
                    <li class="clearfix">
                        <em>车况复检员</em><em class="name-text"><?php echo ($detail["condition_checker_name"]); ?></em>
                        <em>复检时间</em><em class="name-text">
                        <?php if(!empty($detail['recheck_time'])){ ?>
                        <?php echo (date('Y-m-d H:i',strtotime($detail["recheck_time"]))); ?>
                        <?php } ?>
                        </em>
                    </li>
                    <li class="clearfix">
                        <em>复检备注</em><em class="name-text"><?php echo ($detail["recheck_remark"]); ?></em>
                    </li>
                </ul>
            </div>
            <br/>
            <div class="xinxi-conter xinxi-conter1">
                <h4>验车信息</h4>
                <ul>
                    <li class="clearfix">
                        <em>验车时间</em><em class="name-text">
                        <?php if (!empty($detail['check_done_time']) && strtotime($detail['check_done_time']) > 0) { ?>
                            <?php echo (date('Y-m-d H:i',strtotime($detail["check_done_time"]))); ?>
                        <?php } ?>
                        </em>
                    </li>
                    <li class="clearfix">
                        <em>验车备注</em><em class="name-text"><?php echo ($detail["dealer_check_remark"]); ?></em>
                    </li>
                </ul>
            </div>
        </div>
        <h3 class="yonghu">系统跟踪日志</h3>
        <div class="yonghuText">
            <ul>
                <?php if(is_array($carCheckLogList)): $k = 0; $__LIST__ = $carCheckLogList;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$list): $mod = ($k % 2 );++$k;?><li class="<?php echo ($k%2==0?'xitongBg':''); ?> clearfix">
                        <em class="huShi"><?php echo ($list["create_at"]); ?></em>
                        <em><?php echo ($list["emp_name"]); ?></em>
                        <em><?php echo ($list["action"]); ?></em>
                        <em class="huShi"><?php echo ($list["remark"]); ?></em>
                    </li><?php endforeach; endif; else: echo "" ;endif; ?>
            </ul>
        </div>
        <div class="yongBtn1">
            <input class="quxiao" type="submit" value="关闭" onclick="window.close();">
        </div>
    </div>
    <div class="clear"></div>
</div>